<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::ximgproc::RICInterpolator Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d9/d29/namespacecv_1_1ximgproc.html">ximgproc</a></li><li class="navelem"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html">RICInterpolator</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="../../d3/d46/classcv_1_1ximgproc_1_1RICInterpolator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::ximgproc::RICInterpolator Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="../../df/d2d/group__ximgproc.html">Extended Image Processing</a> » <a class="el" href="../../da/d17/group__ximgproc__filters.html">Filters</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p>Sparse match interpolation algorithm based on modified piecewise locally-weighted affine estimator called Robust Interpolation method of Correspondences or RIC from <a class="el" href="../../d0/de3/citelist.html#CITEREF_Hu2017">[116]</a> and Variational and Fast Global Smoother as post-processing filter. The <a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html" title="Sparse match interpolation algorithm based on modified piecewise locally-weighted affine estimator ca...">RICInterpolator</a> is a extension of the <a class="el" href="../../d4/dfa/classcv_1_1ximgproc_1_1EdgeAwareInterpolator.html" title="Sparse match interpolation algorithm based on modified locally-weighted affine estimator from  and Fa...">EdgeAwareInterpolator</a>. Main concept of this extension is an piece-wise affine model based on over-segmentation via SLIC superpixel estimation. The method contains an efficient propagation mechanism to estimate among the pieces-wise models.  
 <a href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#details">More...</a></p>
<p><code>#include &lt;opencv2/ximgproc/sparse_match_interpolator.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::ximgproc::RICInterpolator:</div>
<div class="dyncontent">
 <div class="center">
  <img alt="" src="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.png" usemap="#cv::ximgproc::RICInterpolator_map"/>
  <map id="cv::ximgproc::RICInterpolator_map" name="cv::ximgproc::RICInterpolator_map">
<area alt="cv::ximgproc::SparseMatchInterpolator" coords="0,56,228,80" href="../../d4/da8/classcv_1_1ximgproc_1_1SparseMatchInterpolator.html" shape="rect" title="Main interface for all filters, that take sparse matches as an input and produce a dense per-pixel ma..."/>
<area alt="cv::Algorithm" coords="0,0,228,24" href="../../d3/d46/classcv_1_1Algorithm.html" shape="rect" title="This is a base class for all more or less complex algorithms in OpenCV. "/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a401f4a33f5993e96c2d43ad49a633e94"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a401f4a33f5993e96c2d43ad49a633e94">getAlpha</a> () const =0</td></tr>
<tr class="memdesc:a401f4a33f5993e96c2d43ad49a633e94"><td class="mdescLeft"> </td><td class="mdescRight">Alpha is a parameter defining a global weight for transforming geodesic distance into weight.  <a href="#a401f4a33f5993e96c2d43ad49a633e94">More...</a><br/></td></tr>
<tr class="separator:a401f4a33f5993e96c2d43ad49a633e94"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae63595ebef588fa1955f9083020f6d0e"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#ae63595ebef588fa1955f9083020f6d0e">getFGSLambda</a> () const =0</td></tr>
<tr class="memdesc:ae63595ebef588fa1955f9083020f6d0e"><td class="mdescLeft"> </td><td class="mdescRight">Sets the respective <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> parameter.  <a href="#ae63595ebef588fa1955f9083020f6d0e">More...</a><br/></td></tr>
<tr class="separator:ae63595ebef588fa1955f9083020f6d0e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab89b60b6a4b5efa01a1131d4562f283c"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#ab89b60b6a4b5efa01a1131d4562f283c">getFGSSigma</a> () const =0</td></tr>
<tr class="memdesc:ab89b60b6a4b5efa01a1131d4562f283c"><td class="mdescLeft"> </td><td class="mdescRight">Sets the respective <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> parameter.  <a href="#ab89b60b6a4b5efa01a1131d4562f283c">More...</a><br/></td></tr>
<tr class="separator:ab89b60b6a4b5efa01a1131d4562f283c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e2c2595cf29527a0edce1aa4ffeef93"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a6e2c2595cf29527a0edce1aa4ffeef93">getK</a> () const =0</td></tr>
<tr class="memdesc:a6e2c2595cf29527a0edce1aa4ffeef93"><td class="mdescLeft"> </td><td class="mdescRight">K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of <a class="el" href="../../d0/de3/citelist.html#CITEREF_Hu2017">[116]</a> uses 32.  <a href="#a6e2c2595cf29527a0edce1aa4ffeef93">More...</a><br/></td></tr>
<tr class="separator:a6e2c2595cf29527a0edce1aa4ffeef93"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab3f93f7a8db8438d1b2ec794c9d88814"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#ab3f93f7a8db8438d1b2ec794c9d88814">getMaxFlow</a> () const =0</td></tr>
<tr class="memdesc:ab3f93f7a8db8438d1b2ec794c9d88814"><td class="mdescLeft"> </td><td class="mdescRight">MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead.  <a href="#ab3f93f7a8db8438d1b2ec794c9d88814">More...</a><br/></td></tr>
<tr class="separator:ab3f93f7a8db8438d1b2ec794c9d88814"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae0185dbaa423b2d43da3f2976ee63b46"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#ae0185dbaa423b2d43da3f2976ee63b46">getModelIter</a> () const =0</td></tr>
<tr class="memdesc:ae0185dbaa423b2d43da3f2976ee63b46"><td class="mdescLeft"> </td><td class="mdescRight">Parameter defining the number of iterations for piece-wise affine model estimation.  <a href="#ae0185dbaa423b2d43da3f2976ee63b46">More...</a><br/></td></tr>
<tr class="separator:ae0185dbaa423b2d43da3f2976ee63b46"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a51161373349b14c6319d22ab9c986484"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a51161373349b14c6319d22ab9c986484">getRefineModels</a> () const =0</td></tr>
<tr class="memdesc:a51161373349b14c6319d22ab9c986484"><td class="mdescLeft"> </td><td class="mdescRight">Parameter to choose wether additional refinement of the piece-wise affine models is employed.  <a href="#a51161373349b14c6319d22ab9c986484">More...</a><br/></td></tr>
<tr class="separator:a51161373349b14c6319d22ab9c986484"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2b65f27997f6048e309b0b9685d87ec2"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a2b65f27997f6048e309b0b9685d87ec2">getSuperpixelMode</a> () const =0</td></tr>
<tr class="memdesc:a2b65f27997f6048e309b0b9685d87ec2"><td class="mdescLeft"> </td><td class="mdescRight">Parameter to choose superpixel algorithm variant to use:  <a href="#a2b65f27997f6048e309b0b9685d87ec2">More...</a><br/></td></tr>
<tr class="separator:a2b65f27997f6048e309b0b9685d87ec2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad1e89243dbf5121e78970b656a4bdfc3"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#ad1e89243dbf5121e78970b656a4bdfc3">getSuperpixelNNCnt</a> () const =0</td></tr>
<tr class="memdesc:ad1e89243dbf5121e78970b656a4bdfc3"><td class="mdescLeft"> </td><td class="mdescRight">Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model.  <a href="#ad1e89243dbf5121e78970b656a4bdfc3">More...</a><br/></td></tr>
<tr class="separator:ad1e89243dbf5121e78970b656a4bdfc3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d50fbba2f6d256443a114d4bdc931e5"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a9d50fbba2f6d256443a114d4bdc931e5">getSuperpixelRuler</a> () const =0</td></tr>
<tr class="memdesc:a9d50fbba2f6d256443a114d4bdc931e5"><td class="mdescLeft"> </td><td class="mdescRight">Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation.  <a href="#a9d50fbba2f6d256443a114d4bdc931e5">More...</a><br/></td></tr>
<tr class="separator:a9d50fbba2f6d256443a114d4bdc931e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aecbddae5257ec95228d1ce80b52ba7fe"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#aecbddae5257ec95228d1ce80b52ba7fe">getSuperpixelSize</a> () const =0</td></tr>
<tr class="memdesc:aecbddae5257ec95228d1ce80b52ba7fe"><td class="mdescLeft"> </td><td class="mdescRight">Get the internal cost, i.e. edge map, used for estimating the edge-aware term.  <a href="#aecbddae5257ec95228d1ce80b52ba7fe">More...</a><br/></td></tr>
<tr class="separator:aecbddae5257ec95228d1ce80b52ba7fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1df9b5f60449f14a42c608f3d05bc18c"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a1df9b5f60449f14a42c608f3d05bc18c">getUseGlobalSmootherFilter</a> () const =0</td></tr>
<tr class="memdesc:a1df9b5f60449f14a42c608f3d05bc18c"><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> post-processing is employed.  <a href="#a1df9b5f60449f14a42c608f3d05bc18c">More...</a><br/></td></tr>
<tr class="separator:a1df9b5f60449f14a42c608f3d05bc18c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac0abf6a034b3f46cbae008eb93b9e83a"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#ac0abf6a034b3f46cbae008eb93b9e83a">getUseVariationalRefinement</a> () const =0</td></tr>
<tr class="memdesc:ac0abf6a034b3f46cbae008eb93b9e83a"><td class="mdescLeft"> </td><td class="mdescRight">Parameter to choose wether the <a class="el" href="../../d2/d4b/classcv_1_1VariationalRefinement.html" title="Variational optical flow refinement. ">VariationalRefinement</a> post-processing is employed.  <a href="#ac0abf6a034b3f46cbae008eb93b9e83a">More...</a><br/></td></tr>
<tr class="separator:ac0abf6a034b3f46cbae008eb93b9e83a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ca264fc585dd4e6bb8f96235cb01fe4"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a1ca264fc585dd4e6bb8f96235cb01fe4">setAlpha</a> (float alpha=0.7f)=0</td></tr>
<tr class="memdesc:a1ca264fc585dd4e6bb8f96235cb01fe4"><td class="mdescLeft"> </td><td class="mdescRight">Alpha is a parameter defining a global weight for transforming geodesic distance into weight.  <a href="#a1ca264fc585dd4e6bb8f96235cb01fe4">More...</a><br/></td></tr>
<tr class="separator:a1ca264fc585dd4e6bb8f96235cb01fe4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2893aa23abdafec8c5efd45773a83ba4"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a2893aa23abdafec8c5efd45773a83ba4">setCostMap</a> (const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;costMap)=0</td></tr>
<tr class="memdesc:a2893aa23abdafec8c5efd45773a83ba4"><td class="mdescLeft"> </td><td class="mdescRight">Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. <a class="el" href="../../d8/d54/classcv_1_1ximgproc_1_1StructuredEdgeDetection.html" title="Class implementing edge detection algorithm from  : ">StructuredEdgeDetection</a> that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here.  <a href="#a2893aa23abdafec8c5efd45773a83ba4">More...</a><br/></td></tr>
<tr class="separator:a2893aa23abdafec8c5efd45773a83ba4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a64f56bd383d752f9a7f8754d57d05f88"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a64f56bd383d752f9a7f8754d57d05f88">setFGSLambda</a> (float lambda=500.f)=0</td></tr>
<tr class="memdesc:a64f56bd383d752f9a7f8754d57d05f88"><td class="mdescLeft"> </td><td class="mdescRight">Sets the respective <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> parameter.  <a href="#a64f56bd383d752f9a7f8754d57d05f88">More...</a><br/></td></tr>
<tr class="separator:a64f56bd383d752f9a7f8754d57d05f88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3418698f404f83b66114ccdf3cf69e1c"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a3418698f404f83b66114ccdf3cf69e1c">setFGSSigma</a> (float sigma=1.5f)=0</td></tr>
<tr class="memdesc:a3418698f404f83b66114ccdf3cf69e1c"><td class="mdescLeft"> </td><td class="mdescRight">Sets the respective <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> parameter.  <a href="#a3418698f404f83b66114ccdf3cf69e1c">More...</a><br/></td></tr>
<tr class="separator:a3418698f404f83b66114ccdf3cf69e1c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a396da659ac5ee155802c46e1e96e6720"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a396da659ac5ee155802c46e1e96e6720">setK</a> (int k=32)=0</td></tr>
<tr class="memdesc:a396da659ac5ee155802c46e1e96e6720"><td class="mdescLeft"> </td><td class="mdescRight">K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of <a class="el" href="../../d0/de3/citelist.html#CITEREF_Hu2017">[116]</a> uses 32.  <a href="#a396da659ac5ee155802c46e1e96e6720">More...</a><br/></td></tr>
<tr class="separator:a396da659ac5ee155802c46e1e96e6720"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a901bcd2172fdb268418824feea796dd9"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a901bcd2172fdb268418824feea796dd9">setMaxFlow</a> (float maxFlow=250.f)=0</td></tr>
<tr class="memdesc:a901bcd2172fdb268418824feea796dd9"><td class="mdescLeft"> </td><td class="mdescRight">MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead.  <a href="#a901bcd2172fdb268418824feea796dd9">More...</a><br/></td></tr>
<tr class="separator:a901bcd2172fdb268418824feea796dd9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd78f4175df04c60b7c4485642fb2a4f"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#afd78f4175df04c60b7c4485642fb2a4f">setModelIter</a> (int modelIter=4)=0</td></tr>
<tr class="memdesc:afd78f4175df04c60b7c4485642fb2a4f"><td class="mdescLeft"> </td><td class="mdescRight">Parameter defining the number of iterations for piece-wise affine model estimation.  <a href="#afd78f4175df04c60b7c4485642fb2a4f">More...</a><br/></td></tr>
<tr class="separator:afd78f4175df04c60b7c4485642fb2a4f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a38ecbadcbe486dc2fad2d2e2d3dc64b4"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a38ecbadcbe486dc2fad2d2e2d3dc64b4">setRefineModels</a> (bool refineModles=true)=0</td></tr>
<tr class="memdesc:a38ecbadcbe486dc2fad2d2e2d3dc64b4"><td class="mdescLeft"> </td><td class="mdescRight">Parameter to choose wether additional refinement of the piece-wise affine models is employed.  <a href="#a38ecbadcbe486dc2fad2d2e2d3dc64b4">More...</a><br/></td></tr>
<tr class="separator:a38ecbadcbe486dc2fad2d2e2d3dc64b4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a43844b484f6125722b92d67c14cc589e"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a43844b484f6125722b92d67c14cc589e">setSuperpixelMode</a> (int mode=100)=0</td></tr>
<tr class="memdesc:a43844b484f6125722b92d67c14cc589e"><td class="mdescLeft"> </td><td class="mdescRight">Parameter to choose superpixel algorithm variant to use:  <a href="#a43844b484f6125722b92d67c14cc589e">More...</a><br/></td></tr>
<tr class="separator:a43844b484f6125722b92d67c14cc589e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a315155e5596bd3680f92042399c7b296"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a315155e5596bd3680f92042399c7b296">setSuperpixelNNCnt</a> (int spNN=150)=0</td></tr>
<tr class="memdesc:a315155e5596bd3680f92042399c7b296"><td class="mdescLeft"> </td><td class="mdescRight">Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model.  <a href="#a315155e5596bd3680f92042399c7b296">More...</a><br/></td></tr>
<tr class="separator:a315155e5596bd3680f92042399c7b296"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ace5cc4443ca08d80238ac85c6b819bdf"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#ace5cc4443ca08d80238ac85c6b819bdf">setSuperpixelRuler</a> (float ruler=15.f)=0</td></tr>
<tr class="memdesc:ace5cc4443ca08d80238ac85c6b819bdf"><td class="mdescLeft"> </td><td class="mdescRight">Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation.  <a href="#ace5cc4443ca08d80238ac85c6b819bdf">More...</a><br/></td></tr>
<tr class="separator:ace5cc4443ca08d80238ac85c6b819bdf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ffa08f77ec237ed825c7446517b1bc1"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a1ffa08f77ec237ed825c7446517b1bc1">setSuperpixelSize</a> (int spSize=15)=0</td></tr>
<tr class="memdesc:a1ffa08f77ec237ed825c7446517b1bc1"><td class="mdescLeft"> </td><td class="mdescRight">Get the internal cost, i.e. edge map, used for estimating the edge-aware term.  <a href="#a1ffa08f77ec237ed825c7446517b1bc1">More...</a><br/></td></tr>
<tr class="separator:a1ffa08f77ec237ed825c7446517b1bc1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3dfa809919ae3e5e025df3ee462af74e"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a3dfa809919ae3e5e025df3ee462af74e">setUseGlobalSmootherFilter</a> (bool use_FGS=true)=0</td></tr>
<tr class="memdesc:a3dfa809919ae3e5e025df3ee462af74e"><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> post-processing is employed.  <a href="#a3dfa809919ae3e5e025df3ee462af74e">More...</a><br/></td></tr>
<tr class="separator:a3dfa809919ae3e5e025df3ee462af74e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf0843bcc6e3a9b89d806f35479e83bc"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#adf0843bcc6e3a9b89d806f35479e83bc">setUseVariationalRefinement</a> (bool use_variational_refinement=false)=0</td></tr>
<tr class="memdesc:adf0843bcc6e3a9b89d806f35479e83bc"><td class="mdescLeft"> </td><td class="mdescRight">Parameter to choose wether the <a class="el" href="../../d2/d4b/classcv_1_1VariationalRefinement.html" title="Variational optical flow refinement. ">VariationalRefinement</a> post-processing is employed.  <a href="#adf0843bcc6e3a9b89d806f35479e83bc">More...</a><br/></td></tr>
<tr class="separator:adf0843bcc6e3a9b89d806f35479e83bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1ximgproc_1_1SparseMatchInterpolator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1ximgproc_1_1SparseMatchInterpolator')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../d4/da8/classcv_1_1ximgproc_1_1SparseMatchInterpolator.html">cv::ximgproc::SparseMatchInterpolator</a></td></tr>
<tr class="memitem:a73934acbb2ef74b683c67cb765df1e0c inherit pub_methods_classcv_1_1ximgproc_1_1SparseMatchInterpolator"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da8/classcv_1_1ximgproc_1_1SparseMatchInterpolator.html#a73934acbb2ef74b683c67cb765df1e0c">interpolate</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> from_image, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> from_points, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> to_image, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> to_points, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> dense_flow)=0</td></tr>
<tr class="memdesc:a73934acbb2ef74b683c67cb765df1e0c inherit pub_methods_classcv_1_1ximgproc_1_1SparseMatchInterpolator"><td class="mdescLeft"> </td><td class="mdescRight">Interpolate input sparse matches.  <a href="../../d4/da8/classcv_1_1ximgproc_1_1SparseMatchInterpolator.html#a73934acbb2ef74b683c67cb765df1e0c">More...</a><br/></td></tr>
<tr class="separator:a73934acbb2ef74b683c67cb765df1e0c inherit pub_methods_classcv_1_1ximgproc_1_1SparseMatchInterpolator"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a827c8b2781ed17574805f373e6054ff1 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a827c8b2781ed17574805f373e6054ff1">Algorithm</a> ()</td></tr>
<tr class="separator:a827c8b2781ed17574805f373e6054ff1 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ae826127fa0f1f8d10a24841bd376f8 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a8ae826127fa0f1f8d10a24841bd376f8">~Algorithm</a> ()</td></tr>
<tr class="separator:a8ae826127fa0f1f8d10a24841bd376f8 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#aec9c965448e4dc851d7cacd3abd84cd1">clear</a> ()</td></tr>
<tr class="memdesc:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Clears the algorithm state.  <a href="../../d3/d46/classcv_1_1Algorithm.html#aec9c965448e4dc851d7cacd3abd84cd1">More...</a><br/></td></tr>
<tr class="separator:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab6a18f1825475643e94381697d413972 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#ab6a18f1825475643e94381697d413972">empty</a> () const</td></tr>
<tr class="memdesc:ab6a18f1825475643e94381697d413972 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html" title="This is a base class for all more or less complex algorithms in OpenCV. ">Algorithm</a> is empty (e.g. in the very beginning or after unsuccessful read.  <a href="../../d3/d46/classcv_1_1Algorithm.html#ab6a18f1825475643e94381697d413972">More...</a><br/></td></tr>
<tr class="separator:ab6a18f1825475643e94381697d413972 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a286fc82744ccab3d248aca44524266a9 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a286fc82744ccab3d248aca44524266a9">getDefaultName</a> () const</td></tr>
<tr class="separator:a286fc82744ccab3d248aca44524266a9 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef2ad3f4145bd6e8c3664eb1c4b5e1e6 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#aef2ad3f4145bd6e8c3664eb1c4b5e1e6">read</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;fn)</td></tr>
<tr class="memdesc:aef2ad3f4145bd6e8c3664eb1c4b5e1e6 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Reads algorithm parameters from a file storage.  <a href="../../d3/d46/classcv_1_1Algorithm.html#aef2ad3f4145bd6e8c3664eb1c4b5e1e6">More...</a><br/></td></tr>
<tr class="separator:aef2ad3f4145bd6e8c3664eb1c4b5e1e6 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a880744bc4e3f45711444571df47d67 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a0a880744bc4e3f45711444571df47d67">save</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename) const</td></tr>
<tr class="separator:a0a880744bc4e3f45711444571df47d67 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1f8ad7b8add515077367fb9949a174d2 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a1f8ad7b8add515077367fb9949a174d2">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs) const</td></tr>
<tr class="memdesc:a1f8ad7b8add515077367fb9949a174d2 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Stores algorithm parameters in a file storage.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a1f8ad7b8add515077367fb9949a174d2">More...</a><br/></td></tr>
<tr class="separator:a1f8ad7b8add515077367fb9949a174d2 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a763a62d1b03042eef7d7fc3ac6c87c79">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &gt; &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()) const</td></tr>
<tr class="memdesc:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a763a62d1b03042eef7d7fc3ac6c87c79">More...</a><br/></td></tr>
<tr class="separator:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Static Public Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b">load</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Loads algorithm from the file.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b">More...</a><br/></td></tr>
<tr class="separator:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a3ba305a10d02479c13cf7d169c321547">loadFromString</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;strModel, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Loads algorithm from a String.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a3ba305a10d02479c13cf7d169c321547">More...</a><br/></td></tr>
<tr class="separator:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#ad8c591bacb34c485f5b7a250c314fc53">read</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;fn)</td></tr>
<tr class="memdesc:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Reads algorithm from the file node.  <a href="../../d3/d46/classcv_1_1Algorithm.html#ad8c591bacb34c485f5b7a250c314fc53">More...</a><br/></td></tr>
<tr class="separator:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Protected Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a68eeca71617474ad3d4561786f0289d2 inherit pro_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a68eeca71617474ad3d4561786f0289d2">writeFormat</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs) const</td></tr>
<tr class="separator:a68eeca71617474ad3d4561786f0289d2 inherit pro_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Sparse match interpolation algorithm based on modified piecewise locally-weighted affine estimator called Robust Interpolation method of Correspondences or RIC from <a class="el" href="../../d0/de3/citelist.html#CITEREF_Hu2017">[116]</a> and Variational and Fast Global Smoother as post-processing filter. The <a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html" title="Sparse match interpolation algorithm based on modified piecewise locally-weighted affine estimator ca...">RICInterpolator</a> is a extension of the <a class="el" href="../../d4/dfa/classcv_1_1ximgproc_1_1EdgeAwareInterpolator.html" title="Sparse match interpolation algorithm based on modified locally-weighted affine estimator from  and Fa...">EdgeAwareInterpolator</a>. Main concept of this extension is an piece-wise affine model based on over-segmentation via SLIC superpixel estimation. The method contains an efficient propagation mechanism to estimate among the pieces-wise models. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a401f4a33f5993e96c2d43ad49a633e94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a401f4a33f5993e96c2d43ad49a633e94">◆ </a></span>getAlpha()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ximgproc::RICInterpolator::getAlpha </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getAlpha(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Alpha is a parameter defining a global weight for transforming geodesic distance into weight. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a1ca264fc585dd4e6bb8f96235cb01fe4" title="Alpha is a parameter defining a global weight for transforming geodesic distance into weight...">setAlpha</a> </dd></dl>
</div>
</div>
<a id="ae63595ebef588fa1955f9083020f6d0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae63595ebef588fa1955f9083020f6d0e">◆ </a></span>getFGSLambda()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ximgproc::RICInterpolator::getFGSLambda </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getFGSLambda(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Sets the respective <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> parameter. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a64f56bd383d752f9a7f8754d57d05f88" title="Sets the respective fastGlobalSmootherFilter() parameter. ">setFGSLambda</a> </dd></dl>
</div>
</div>
<a id="ab89b60b6a4b5efa01a1131d4562f283c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab89b60b6a4b5efa01a1131d4562f283c">◆ </a></span>getFGSSigma()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ximgproc::RICInterpolator::getFGSSigma </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getFGSSigma(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Sets the respective <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> parameter. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a3418698f404f83b66114ccdf3cf69e1c" title="Sets the respective fastGlobalSmootherFilter() parameter. ">setFGSSigma</a> </dd></dl>
</div>
</div>
<a id="a6e2c2595cf29527a0edce1aa4ffeef93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e2c2595cf29527a0edce1aa4ffeef93">◆ </a></span>getK()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::ximgproc::RICInterpolator::getK </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getK(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of <a class="el" href="../../d0/de3/citelist.html#CITEREF_Hu2017">[116]</a> uses 32. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a396da659ac5ee155802c46e1e96e6720" title="K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a super...">setK</a> </dd></dl>
</div>
</div>
<a id="ab3f93f7a8db8438d1b2ec794c9d88814"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3f93f7a8db8438d1b2ec794c9d88814">◆ </a></span>getMaxFlow()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ximgproc::RICInterpolator::getMaxFlow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getMaxFlow(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a901bcd2172fdb268418824feea796dd9" title="MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model...">setMaxFlow</a> </dd></dl>
</div>
</div>
<a id="ae0185dbaa423b2d43da3f2976ee63b46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0185dbaa423b2d43da3f2976ee63b46">◆ </a></span>getModelIter()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::ximgproc::RICInterpolator::getModelIter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getModelIter(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter defining the number of iterations for piece-wise affine model estimation. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#afd78f4175df04c60b7c4485642fb2a4f" title="Parameter defining the number of iterations for piece-wise affine model estimation. ">setModelIter</a> </dd></dl>
</div>
</div>
<a id="a51161373349b14c6319d22ab9c986484"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51161373349b14c6319d22ab9c986484">◆ </a></span>getRefineModels()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool cv::ximgproc::RICInterpolator::getRefineModels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getRefineModels(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter to choose wether additional refinement of the piece-wise affine models is employed. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a38ecbadcbe486dc2fad2d2e2d3dc64b4" title="Parameter to choose wether additional refinement of the piece-wise affine models is employed...">setRefineModels</a> </dd></dl>
</div>
</div>
<a id="a2b65f27997f6048e309b0b9685d87ec2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b65f27997f6048e309b0b9685d87ec2">◆ </a></span>getSuperpixelMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::ximgproc::RICInterpolator::getSuperpixelMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getSuperpixelMode(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter to choose superpixel algorithm variant to use: </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a43844b484f6125722b92d67c14cc589e" title="Parameter to choose superpixel algorithm variant to use: ">setSuperpixelMode</a> </dd></dl>
</div>
</div>
<a id="ad1e89243dbf5121e78970b656a4bdfc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1e89243dbf5121e78970b656a4bdfc3">◆ </a></span>getSuperpixelNNCnt()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::ximgproc::RICInterpolator::getSuperpixelNNCnt </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getSuperpixelNNCnt(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a315155e5596bd3680f92042399c7b296" title="Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. ">setSuperpixelNNCnt</a> </dd></dl>
</div>
</div>
<a id="a9d50fbba2f6d256443a114d4bdc931e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d50fbba2f6d256443a114d4bdc931e5">◆ </a></span>getSuperpixelRuler()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ximgproc::RICInterpolator::getSuperpixelRuler </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getSuperpixelRuler(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#ace5cc4443ca08d80238ac85c6b819bdf" title="Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. ">setSuperpixelRuler</a> </dd></dl>
</div>
</div>
<a id="aecbddae5257ec95228d1ce80b52ba7fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecbddae5257ec95228d1ce80b52ba7fe">◆ </a></span>getSuperpixelSize()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::ximgproc::RICInterpolator::getSuperpixelSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getSuperpixelSize(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Get the internal cost, i.e. edge map, used for estimating the edge-aware term. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a1ffa08f77ec237ed825c7446517b1bc1" title="Get the internal cost, i.e. edge map, used for estimating the edge-aware term. ">setSuperpixelSize</a> </dd></dl>
</div>
</div>
<a id="a1df9b5f60449f14a42c608f3d05bc18c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1df9b5f60449f14a42c608f3d05bc18c">◆ </a></span>getUseGlobalSmootherFilter()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool cv::ximgproc::RICInterpolator::getUseGlobalSmootherFilter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getUseGlobalSmootherFilter(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Sets whether the <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> post-processing is employed. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a3dfa809919ae3e5e025df3ee462af74e" title="Sets whether the fastGlobalSmootherFilter() post-processing is employed. ">setUseGlobalSmootherFilter</a> </dd></dl>
</div>
</div>
<a id="ac0abf6a034b3f46cbae008eb93b9e83a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0abf6a034b3f46cbae008eb93b9e83a">◆ </a></span>getUseVariationalRefinement()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool cv::ximgproc::RICInterpolator::getUseVariationalRefinement </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ximgproc_RICInterpolator.getUseVariationalRefinement(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter to choose wether the <a class="el" href="../../d2/d4b/classcv_1_1VariationalRefinement.html" title="Variational optical flow refinement. ">VariationalRefinement</a> post-processing is employed. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#adf0843bcc6e3a9b89d806f35479e83bc" title="Parameter to choose wether the VariationalRefinement post-processing is employed. ...">setUseVariationalRefinement</a> </dd></dl>
</div>
</div>
<a id="a1ca264fc585dd4e6bb8f96235cb01fe4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ca264fc585dd4e6bb8f96235cb01fe4">◆ </a></span>setAlpha()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setAlpha </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>alpha</em> = <code>0.7f</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setAlpha(</td><td class="paramname">[, alpha]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Alpha is a parameter defining a global weight for transforming geodesic distance into weight. </p>
</div>
</div>
<a id="a2893aa23abdafec8c5efd45773a83ba4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2893aa23abdafec8c5efd45773a83ba4">◆ </a></span>setCostMap()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setCostMap </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp; </td>
          <td class="paramname"><em>costMap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setCostMap(</td><td class="paramname">costMap</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term. This implementation is based on a rather simple gradient-based edge map estimation. To used more complex edge map estimator (e.g. <a class="el" href="../../d8/d54/classcv_1_1ximgproc_1_1StructuredEdgeDetection.html" title="Class implementing edge detection algorithm from  : ">StructuredEdgeDetection</a> that has been used in the original publication) that may lead to improved accuracies, the internal edge map estimation can be bypassed here. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">costMap</td><td>a type CV_32FC1 <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">Mat</a> is required. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d6c/group__ximgproc__superpixel.html#gacf29df20eaca242645a8d3a2d88e6c06" title="Initialize a SuperpixelSLIC object. ">cv::ximgproc::createSuperpixelSLIC</a> </dd></dl>
</div>
</div>
<a id="a64f56bd383d752f9a7f8754d57d05f88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64f56bd383d752f9a7f8754d57d05f88">◆ </a></span>setFGSLambda()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setFGSLambda </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>lambda</em> = <code>500.f</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setFGSLambda(</td><td class="paramname">[, lambda]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Sets the respective <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> parameter. </p>
</div>
</div>
<a id="a3418698f404f83b66114ccdf3cf69e1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3418698f404f83b66114ccdf3cf69e1c">◆ </a></span>setFGSSigma()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setFGSSigma </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>sigma</em> = <code>1.5f</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setFGSSigma(</td><td class="paramname">[, sigma]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Sets the respective <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> parameter. </p>
</div>
</div>
<a id="a396da659ac5ee155802c46e1e96e6720"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a396da659ac5ee155802c46e1e96e6720">◆ </a></span>setK()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setK </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>k</em> = <code>32</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setK(</td><td class="paramname">[, k]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a superpixel segment. However, lower values would make the interpolation noticeably faster. The original implementation of <a class="el" href="../../d0/de3/citelist.html#CITEREF_Hu2017">[116]</a> uses 32. </p>
</div>
</div>
<a id="a901bcd2172fdb268418824feea796dd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a901bcd2172fdb268418824feea796dd9">◆ </a></span>setMaxFlow()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setMaxFlow </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>maxFlow</em> = <code>250.f</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setMaxFlow(</td><td class="paramname">[, maxFlow]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model. If the prediction exceeds the treshold the translational model will be applied instead. </p>
</div>
</div>
<a id="afd78f4175df04c60b7c4485642fb2a4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd78f4175df04c60b7c4485642fb2a4f">◆ </a></span>setModelIter()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setModelIter </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>modelIter</em> = <code>4</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setModelIter(</td><td class="paramname">[, modelIter]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter defining the number of iterations for piece-wise affine model estimation. </p>
</div>
</div>
<a id="a38ecbadcbe486dc2fad2d2e2d3dc64b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38ecbadcbe486dc2fad2d2e2d3dc64b4">◆ </a></span>setRefineModels()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setRefineModels </td>
          <td>(</td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>refineModles</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setRefineModels(</td><td class="paramname">[, refineModles]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter to choose wether additional refinement of the piece-wise affine models is employed. </p>
</div>
</div>
<a id="a43844b484f6125722b92d67c14cc589e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43844b484f6125722b92d67c14cc589e">◆ </a></span>setSuperpixelMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setSuperpixelMode </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>mode</em> = <code>100</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setSuperpixelMode(</td><td class="paramname">[, mode]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter to choose superpixel algorithm variant to use: </p>
<ul>
<li><a class="el" href="../../df/d6c/group__ximgproc__superpixel.html#ga6c6f7deab0bd328066f0ada72c2ce57b">cv::ximgproc::SLICType</a> SLIC segments image using a desired region_size (value: 100)</li>
<li><a class="el" href="../../df/d6c/group__ximgproc__superpixel.html#ga6c6f7deab0bd328066f0ada72c2ce57b">cv::ximgproc::SLICType</a> SLICO will optimize using adaptive compactness factor (value: 101)</li>
<li><a class="el" href="../../df/d6c/group__ximgproc__superpixel.html#ga6c6f7deab0bd328066f0ada72c2ce57b">cv::ximgproc::SLICType</a> MSLIC will optimize using manifold methods resulting in more content-sensitive superpixels (value: 102). <dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d6c/group__ximgproc__superpixel.html#gacf29df20eaca242645a8d3a2d88e6c06" title="Initialize a SuperpixelSLIC object. ">cv::ximgproc::createSuperpixelSLIC</a> </dd></dl>
</li>
</ul>
</div>
</div>
<a id="a315155e5596bd3680f92042399c7b296"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a315155e5596bd3680f92042399c7b296">◆ </a></span>setSuperpixelNNCnt()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setSuperpixelNNCnt </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>spNN</em> = <code>150</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setSuperpixelNNCnt(</td><td class="paramname">[, spNN]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter defines the number of nearest-neighbor matches for each superpixel considered, when fitting a locally affine model. </p>
</div>
</div>
<a id="ace5cc4443ca08d80238ac85c6b819bdf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace5cc4443ca08d80238ac85c6b819bdf">◆ </a></span>setSuperpixelRuler()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setSuperpixelRuler </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>ruler</em> = <code>15.f</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setSuperpixelRuler(</td><td class="paramname">[, ruler]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d6c/group__ximgproc__superpixel.html#gacf29df20eaca242645a8d3a2d88e6c06" title="Initialize a SuperpixelSLIC object. ">cv::ximgproc::createSuperpixelSLIC</a> </dd></dl>
</div>
</div>
<a id="a1ffa08f77ec237ed825c7446517b1bc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ffa08f77ec237ed825c7446517b1bc1">◆ </a></span>setSuperpixelSize()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setSuperpixelSize </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>spSize</em> = <code>15</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setSuperpixelSize(</td><td class="paramname">[, spSize]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Get the internal cost, i.e. edge map, used for estimating the edge-aware term. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d2/da4/classcv_1_1ximgproc_1_1RICInterpolator.html#a2893aa23abdafec8c5efd45773a83ba4" title="Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term...">setCostMap</a> </dd></dl>
</div>
</div>
<a id="a3dfa809919ae3e5e025df3ee462af74e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dfa809919ae3e5e025df3ee462af74e">◆ </a></span>setUseGlobalSmootherFilter()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setUseGlobalSmootherFilter </td>
          <td>(</td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>use_FGS</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setUseGlobalSmootherFilter(</td><td class="paramname">[, use_FGS]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Sets whether the <a class="el" href="../../da/d17/group__ximgproc__filters.html#gaf8673fe9147160ad96ac6053fac3c106" title="Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...">fastGlobalSmootherFilter()</a> post-processing is employed. </p>
</div>
</div>
<a id="adf0843bcc6e3a9b89d806f35479e83bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf0843bcc6e3a9b89d806f35479e83bc">◆ </a></span>setUseVariationalRefinement()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ximgproc::RICInterpolator::setUseVariationalRefinement </td>
          <td>(</td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>use_variational_refinement</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ximgproc_RICInterpolator.setUseVariationalRefinement(</td><td class="paramname">[, use_variational_refinement]</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Parameter to choose wether the <a class="el" href="../../d2/d4b/classcv_1_1VariationalRefinement.html" title="Variational optical flow refinement. ">VariationalRefinement</a> post-processing is employed. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/ximgproc/<a class="el" href="../../d6/dcd/sparse__match__interpolator_8hpp.html">sparse_match_interpolator.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:49 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
